import { defineStore } from 'pinia';

export const usePageStore = defineStore('page', {
    actions: {
        setContainer(pageName){
            this.container = pageName
        },
        setCourseContainer(key,value){
            this.courseContainer[key] = value
        }
    },


    state: () => ({
        teachStudied:"",
        container:"work",
        courseContainer:{
            topChose:"教学日志",
            logChose:"线上学习"
        }
    }),

    getters: {

    },
})
